package com.artisan.provider.service;

import com.artisan.provider.domain.ZgDiscountCode;
import com.artisan.provider.dto.ZgDiscountCodeDto;

import java.util.List;

public interface ZgDiscountCodeService {

    List<ZgDiscountCode> findAll(ZgDiscountCodeDto zgDiscountCodeDto, int page, int limit);

    int zgDiscountCodeAdd(ZgDiscountCode zgDiscountCode);

    int zgDiscountCodeUpdate(ZgDiscountCode zgDiscountCode);

    int zgDiscountCodeDelete(int id);
}
